const { deepseek } = require('./deepseek');
const glm4v = require('./glm4v'); // 新增引入

const routerArr = [
  deepseek,
  glm4v
]; // 假设 deepseek 是一个 Koa 路由实例

const useRouter = (app) => {
  routerArr.forEach(item => {
    app.use(item.routes()); 
    app.use(item.allowedMethods()); // 
  });
};

module.exports = { useRouter };